package com.woniu.gym.client;

import com.woniu.core.util.Result;
import com.woniu.gym.client.dto.AddGymEnterOrderDto;
import com.woniu.gym.client.dto.CoachDto;
import com.woniu.gym.client.dto.CoachInfoDto;
import com.woniu.gym.client.dto.GymAccountDto;
import com.woniu.gym.client.form.AddGymEnterOrderForm;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "order-server" ,path= "/order")
public interface OrderServerClient {
    @ApiOperation("新增场馆入驻订单表")
    @PostMapping("/tInOrder/addGymEnterOrder")
    public Result<AddGymEnterOrderDto> addGymEnterOrder(@RequestBody AddGymEnterOrderForm form);
}
